]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[ShellApp] Signal windows-changed when removing a window
authorColin Walters <walters@verbum.org>
Fri, 23 Oct 2009 14:56:48 +0000 (10:56 -0400)
committerColin Walters <walters@verbum.org>
Fri, 23 Oct 2009 14:59:04 +0000 (10:59 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=599412

src/shell-app.c

index e89fcbee595c0d20a527819ea4842646295d21b0..3ae3f5c098c58b3c623c7ab5791832749c44ce44 100644 (file)
@@ -329,6 +329,8 @@ _shell_app_remove_window (ShellApp   *app,
   g_object_unref (window);
   app->windows = g_slist_remove (app->windows, window);
 
+  g_signal_emit (app, shell_app_signals[WINDOWS_CHANGED], 0);
+
   if (app->windows == NULL)
     disconnect_workspace_switch (app);
 }